//
//  UIImageView+Extension.swift
//  YouYouDriver
//
//  Created by Apple on 2017/8/30.
//  Copyright © 2017年 The_X. All rights reserved.
//

import UIKit

extension UIImageView {

    convenience init(es_imageName: String) {
        
        self.init(image: UIImage(named: es_imageName))
        
        self.sizeToFit()
    }
}
